package pers.zcr.meringue.monolithic.system.captcha.service.impl;

import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import pers.zcr.meringue.monolithic.system.captcha.command.CaptchaGeneratorCmdExe;
import pers.zcr.meringue.monolithic.system.captcha.dto.vo.CaptchaVo;
import pers.zcr.meringue.monolithic.system.captcha.service.ICaptchaService;
@Service
public class CaptchaServiceImpl implements ICaptchaService {
    @Resource
    private CaptchaGeneratorCmdExe captchaGeneratorCmdExe;
    @Override
    public CaptchaVo generateCode() {
        return captchaGeneratorCmdExe.execute();
    }
}
